package com.zxz.mq.dto;

import lombok.Data;
import lombok.ToString;

import java.time.LocalDateTime;
@Data
@ToString
public class TransMessageDto {
    /**
     * id
     */
    private String id;
    /**
     * 服务名
     */
    private String service;

    private String type;
    private String exchange;
    private String routingKey;
    private String queue;
    /**
     * 重试次数
     */
    private Integer sequence;
    /**
     * 消息
     */
    private String payload;
    /**
     * 发送时间
     */
    private LocalDateTime date;
}
